home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / doslynx / src / turlvi11.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  1.1 KB  |  34 lines

  1. //    Copyright (c) 1993, University of Kansas, All Rights Reserved
  2. //
  3. //    Class:        TURLView
  4. //    Include File:    turlview.h
  5. //    Purpose:    Provide the view of a URL
  6. //    Remarks/Portability/Dependencies/Restrictions:
  7. //    Revision History:
  8. //        12-27-93    created
  9. //        02-02-94    Began a major revision to fully handle a
  10. //                multiple document interface with WWW, take
  11. //                over the formatting and drawing of the
  12. //                old gridtext functions of HText, and optimize
  13. //                memory usage, selecting anchors, the usage of
  14. //                HText's new image file.  See gridtext.
  15. //        02-09-94    Split all members into seperate files.
  16. #include"turlview.h"
  17. #include"trace.h"
  18.  
  19. void TURLView::registerText(HText *HTp_doc)    {
  20. //    Purpose:    Keep a pointer to our hypertext document after it
  21. //            is created.
  22. //    Arguments:    HTp_doc    The hypertext object.
  23. //    Return Value:    void
  24. //    Remarks/Portability/Dependencies/Restrictions:
  25. //        The actual call made to this function is done in gridtext.cpp
  26. //    Revision History:
  27. //        01-25-94    created
  28. #ifndef RELEASE
  29.     trace("Registering HText with view.");
  30. #endif // RELEASE
  31.     //    Keep the pointer.
  32.     HTp_HyperDoc = HTp_doc;
  33. }
  34.